*------------------
* Prepare working space
*------------------

set more off
clear


*------------------
* Open cleaned and operationalized survey data
*------------------

use "SL_survey_analysis.dta", replace


*------------------	
* Set the data as survey data
*------------------
*svyset sl_id [pweight=weight2]  // , strata(Name_province)
svyset sl_id



*------------------	
* Population by province
*------------------

tab Name_province
tab Name_province, nol 



*------------------	
* Religion by province
*------------------
tab a4_religion if Name_province == 3 // Eastern
tab a4_religion if Name_province == 5 // Northern
tab a4_religion if Name_province == 8 // Southern


*------------------	
* Ethncitity by province
*------------------
tab a3_ethnicity if Name_province == 3 // Eastern
tab a3_ethnicity if Name_province == 5 // Northern
tab a3_ethnicity if Name_province == 8 // Southern


*------------------	
* Sex by province
*------------------
tab x4_gender if Name_province == 3 // Eastern
tab x4_gender if Name_province == 5 // Northern
tab x4_gender if Name_province == 8 // Southern

